package com.linkage.admin.pojo;

/**
 * 
 * @author Administrator
 *
 */
public class RoleAuthority {

	/**
	 * create table role_authority
		(
		   id                   int(10) not null,
		   roleid               int(10),
		   authorityid          int(10),
		   primary key (id)
		);
	 * 
	 */
	private int id;
	private int roleid;
	private int authorityid;
	
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public int getRoleid() {
		return roleid;
	}
	public void setRoleid(int roleid) {
		this.roleid = roleid;
	}
	public int getAuthorityid() {
		return authorityid;
	}
	public void setAuthorityid(int authorityid) {
		this.authorityid = authorityid;
	}
	@Override
	public String toString() {
		return "RoleAuthority [id=" + id + ", roleid=" + roleid
				+ ", authorityid=" + authorityid + "]";
	}
	public RoleAuthority(int id, int roleid, int authorityid) {
		super();
		this.id = id;
		this.roleid = roleid;
		this.authorityid = authorityid;
	}
	public RoleAuthority() {
		super();
		// TODO Auto-generated constructor stub
	}
	
}
